<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link type="text/css" rel="stylesheet" href="__CSS__/wckc.css">
    <!-- <script type="text/javascript" src="__JS__/common.js"></script> -->
</block>


<block name="body">

        <!-- 左侧菜start -->
        <div class="col-xs-2">            
          <include file="Public/sidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--内容栏start-->
  <div class="col-xs-10 content"> 
        <ul class="nav nav-tabs">
      <li ><a href="{:U('My/index')}"><i class="icon icon-home"></i>首页</a></li>
      <li class="active"><a href="{:U('my/uploadindex')}">课程一览</a></li>
      <li><a href="{:U('Index/xbdocfiles')}">资料搜索</a></li>
      <li><a href="{:U('My/mydoc')}" >我的资料</a><li>
   </ul>
      
        <h3><a href="__SELF__">课程一览</a>   </h3>
        为了上传数据安全性，请先登录后上传，上传时请先找到相对应的课程，再点击对应课程后的上传资料。

    <!-- 数据列表 -->
     
        <table class="table  table-striped table-bordered" >
        <thead>
        <tr class="info">
            <th class="text-center">序号</th><th class="text-center">类别</th><th class="text-center">名称</th><th class="text-center">任课教师</th><th class="text-center">实报人数</th><th class="text-center">操作</th>
        </tr>
        </thead>
        <volist name="clist" id="cur" >
        <tr>
            <td class="text-center">{$i}</td>
            <td>{$cur.category}</td>
            <td>{$cur.cname}</td>
            <td>{$cur.teacher}</td>            
            <td class="text-center">{$cur.count}</td>
            <td>
            
            <a href= "{:U('My/upload?cid='.$cur['cid'])}" >上传资料</a>｜
            <a href= "{:U('My/showUpload?cid='.$cur['cid'])}" >查看</a></td>

            </tr>
        </volist>
        </table>
            

</block>